package com.kaishengit.util;

public class GetSize {

	public static String  getSize(double s){
		
		String str="";
		if((s/1024)<1024){
			str=""+(int)(s/1024)+"KB";
		}else if((s/1024/1024)<1024){
			str=""+(int)(s/1024/1024)+"MB";
		}else{
			str=""+(int)(s/1024/1024/1024)+"GB";
		}
		return str;
	}
}
